package cn.school;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * Hello world!
 *
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@MapperScan(basePackages = {"cn.school.*.dao", "cn.school.*.*.dao"})
@ComponentScan("cn.school.*")
public class PublicPhoneAppliction
{
    public static void main( String[] args )
    {
        SpringApplication.run(PublicPhoneAppliction.class, args);
    }
}
